package ejerciciosJFrame10;

import java.awt.Graphics;

import javax.swing.JPanel;

public class Lienzo extends JPanel {
	private int x;
	
	public void setX(int x){
		this.x=x;
	}
	public int getX(){
		return x;
	}
	@Override
	public void paint(Graphics g) {
			super.paint(g);
			g.drawOval(x, 100, 100, 100);
	}
}
